import { createRouter, createWebHashHistory } from "vue-router";

const routes = [
  {
    path: "/",
    redirect: "/home",
  },
  {
    path: "/home",
    component: () => import("@/view/HomeView.vue"),
    meta:{
      keepAlive:true
    }
  },

];

const router = createRouter({
  history: createWebHashHistory(),
  routes,
});

export default router;
